﻿$(function () {
	$(".dialog-help").dialog({
		autoOpen: false,
		height: 600,
		width: 400,
		modal: false,
		buttons: {
			"Sluiten": function () { $(this).dialog("close"); }
		}
	});

	$(".dialog-help-global").dialog({
		autoOpen: false,
		modal: false,
		width: 560,
		show: { effect: 'scale', duration: 250 },
		hide: { effect: 'scale', duration: 250 },
		buttons: {
			"Sluiten": function () { $(this).dialog("close"); }
		}
	});
});

function openDialog(elt) {
	$('.dialog-help-global').dialog('close');
	elt.dialog('open');
}
